import { Avatar } from "antd-mobile";
import dayjs from "dayjs";
import React from "react";


export default function Comp({item, handler, rank}) {
  return (
    <div className={`cp-prize-item`}>
      {/*<div className="date">{item?.created_date}</div>*/}
      {/*<div className="type">{item?.category}</div>*/}
      <div className="value">
        <img 
          src={item.icon}
          />
      </div>
      <div className="thumb">
        {/* <Avatar src={item?.created_date} /> */}
        <div className="date">{item?.name}</div>
      </div>
    </div>
  )
}